package com.mzplayer.utils;

/**
 * @Package: com.mzplayer.utils
 * @ClassName: MediaMeta
 * @Description: java类作用描述
 * @Author: 麦子
 * @QQ: 3332174009
 * @CreateDate: 2021/8/1 13:28
 */
public class MediaMeta {
    public static final int TYPE_UNKNOWN = 0;
    public static final int TYPE_VIDEO = 1;
    public static final int TYPE_AUDIO = 2;
    public static final int TYPE_TIMEDTEXT = 3;

    private int type;
    private String language;
    private int index;
    private boolean selected;

    public MediaMeta() {
    }

    public MediaMeta(int type, String language, int index, boolean selected) {
        this.type = type;
        this.language = language;
        this.index = index;
        this.selected = selected;
    }

    public int getType() {
        return type;
    }

    public String getLanguage() {
        return language;
    }

    public int getIndex() {
        return index;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
